#include "dominion.h"
#include "dominion_helpers.h"
#include "rngs.h"
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>

#define NOISY_TEST 1


int main() {
	int r;
	int errornum=0;
	int card;

	int k[10] = {adventurer, council_room, feast, gardens, mine,
		       remodel, smithy, village, baron, great_hall};

	struct gameState G;

	r = initializeGame(2, k, 1, &G);
	if ( r != 0) {
		errornum++;
	}

	//card, choice1, choice2, choice3, state, handPos, bonus
	card = cardEffect(gardens, 10, 10, 10, &G, 0, 0);

	//gardens gives 1 victory point for every 10 cards
	printf("gardens = %d\n", card);
	if (card != -1){
		errornum++;
	}



	 printf ("ALL TESTS OK\n");

	return 0;
}
